export class BizError extends Error {

    // 是否业务错误
    readonly isBizError: true;

    constructor(message: string) {
        super(message);
        this.name = "BizError";
        this.isBizError = true;
        Object.setPrototypeOf(this, BizError.prototype);
    }
}